The WriteableBitmap.
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
The color for the spline.
FillCurveClosed(WriteableBitmap,Int32[],Single,Color) Method
Draws a filled, closed Cardinal spline (cubic) defined by a point collection. The cardinal spline passes through each point in the collection.
Syntax
[Extension()]
public static void FillCurveClosed( 
   WriteableBitmap bmp,
   int[] points,
   float tension,
   Color color
)

Parameters

bmp
The WriteableBitmap.
points
The points for the curve in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, x3, y3, x4, y4, x1, x2 ..., xn, yn).
tension
The tension of the curve defines the shape. Usually between 0 and 1. 0 would be a straight line.
color
The color for the spline.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also